# How the string pop-up scratchpad works at run time

When the operator enters a string in the string pop-up scratchpad and presses the Enter button:

- If a fill character is configured for the string input enable button (in the General tab), and the operator enters fewer than the maximum number of input characters, the fill characters are placed after the string the operator enters.
  - Spaces have a hex value of 20.
  - Zeroes have a hex value of 30.
  - FF characters have a hex value of FF.
  - Null characters have hex value of 0.

    If the number of input characters is fewer than the tag length of the Value connection, the remaining spaces are padded with the null character.

- The string is written to the Value connection. The first character is placed in the high order byte of the first word at the connection address, the second character is placed in the low order byte of the first word, and so on.
- The pop-up closes.
- If Enter key handshaking is set up for the string input enable button, the Enter connection is set to 1 and the handshaking timers begin timing.

## See also

Use the string pop-up scratchpad

Causes of run-time errors for the string pop-up scratchpad

Configure the String Input Enable button